import React from 'react'
import './DetailFooter.less'
function DetailFooter(props) {
let{addShop} = props
    return (
        <footer className="footer">
            <div className="goShop" onClick={() => props.history.push('/index/shop')}>去购物车</div>
            <div className="plus" onClick={()=>addShop()}>加入购物车</div>
        </footer>
    )
}
export default React.memo(DetailFooter)
